package P11.T01;

import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

public class MyJFrame extends JFrame {
    public MyJFrame() throws IOException {
        this.setTitle("My JFrame");
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        MyJPanel mp=new MyJPanel();
        this.setSize(500, 500);
        this.setVisible(true);
    }
}
